package com.yangjun.dao.mybatis.mapper.report;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.yangjun.entity.report.AppGTIDReportEntity;
import com.yangjun.entity.report.AppPageTypeFlowMailEntity;
import com.yangjun.entity.report.AppSalesReportEntity;
import com.yangjun.entity.report.SourceKeywrodReportEntity;
import com.yangjun.entity.report.SearchKeywordAppReportEntity;
import com.yangjun.entity.report.SearchKeywordGoodsReportEntity;
import com.yangjun.entity.report.SearchKeywordKzoneGoodsReportEntity;
import com.yangjun.entity.report.SearchKeywordKzoneReportEntity;
import com.yangjun.entity.report.SearchKeywordWebReportEntity;
import com.yangjun.entity.report.SearchKeywordZixunReportEntity;
import com.yangjun.entity.report.SeoChannelFlowSalesReportEntity;
import com.yangjun.entity.report.SeoProductFlowReportEntity;
import com.yangjun.entity.report.SeoProductSalesReportEntity;
import com.yangjun.entity.report.WebKzoneReportEntity;
import com.yangjun.entity.report.WebSalesReportEntity;
public interface ReportMapper {
	List<AppPageTypeFlowMailEntity> queryAppPageTypeFlow(@Param(value="date") String date);

	List<SearchKeywordAppReportEntity> queryAppSearchKeywordReport(@Param(value="date") String date);
	
	List<SourceKeywrodReportEntity> querySEMSourceKeywordReport(@Param(value="dimension") String dimension,@Param(value="beginDate") String beginDate,@Param(value="endDate") String endDate);
	
	List<SourceKeywrodReportEntity> querySEOSourceKeywordReport(@Param(value="dimension") String dimension,@Param(value="beginDate") String beginDate,@Param(value="endDate") String endDate);
	
	List<AppSalesReportEntity> queryAppSalesReport(@Param(value="date") String date);
	
	List<WebSalesReportEntity> queryWebSalesReport(@Param(value="date") String date);
	
	List<SearchKeywordZixunReportEntity> queryWebSearchKeywordZiXunReport(@Param(value="date") String date);
	
	List<SearchKeywordKzoneReportEntity> queryKzoneReport(@Param(value="date") String date);
	
	List<SearchKeywordKzoneGoodsReportEntity> queryKzoneGoodsReport(@Param(value="date") String date);
	
	List<SearchKeywordWebReportEntity> queryWebSearchKeywordReport(@Param(value="date") String date);
	
	List<SearchKeywordGoodsReportEntity> queryWebSearchKeywordGoodsReport(@Param(value="date") String date);
	
	List<WebKzoneReportEntity> queryWebKzoneReport(@Param(value="date") String date);
	
	List<AppGTIDReportEntity> queryAppGTIDReport(@Param(value="date") String date);
	
	void deleteSemSourceKeyWordByBeforeDate(@Param(value="date") String date);
	
	void deleteSeoSourceKeyWordByBeforeDate(@Param(value="date") String date);
	
	List<SeoProductFlowReportEntity> querySeoProductFlowReport(@Param(value="date") String date);
	
	List<SeoProductSalesReportEntity> querySeoProductSalesReport(@Param(value="date") String date);
	
	List<SeoChannelFlowSalesReportEntity> querySeoChannelFlowSalesReport(@Param(value="date") String date);
	
}
